package com.hankol.community.bean

import android.annotation.SuppressLint
import com.baselibrary.bean.BannerConfigListBean
import com.baselibrary.base.BasicBean
import kotlinx.android.parcel.Parcelize

/**
 *@author:hanke
 *2023/4/20
 *desc:
 */
@SuppressLint("ParcelCreator")
@Parcelize
data class HomePageBean(
    val bannerVo: BannerConfigListBean,
    val plateVo: PlateVo,
    val quickLink: List<QuickLink>
): BasicBean()
@SuppressLint("ParcelCreator")
@Parcelize
data class PlateVo(
    val activityPlateConfig: List<MajorPlateConfig>,
    val activityPlateRule: MajorPlateRule,
    val majorPlateConfig: List<MajorPlateConfig>,
    val majorPlateRule: MajorPlateRule
): BasicBean()
@SuppressLint("ParcelCreator")
@Parcelize
data class QuickLink(
    val appletId: String,
    val ctime: Long,
    val delStatus: Int,
    val id: Int,
    val img: String,
    val name: String,
    val routeType: Int,
    val routeUrl: String,
    val showStatus: Int,
    val sort: Int,
    val type: Int,
    val utime: Long
): BasicBean()

@SuppressLint("ParcelCreator")
@Parcelize
data class MajorPlateConfig(
    val appletId: String,
    val ctime: Long,
    val delStatus: Int,
    val id: Int,
    val img: String,
    val name: String,
    val routeType: Int,
    val routeUrl: String,
    val showStatus: Int,
    val sort: Int,
    val type: Int,
    val utime: Long
): BasicBean()
@SuppressLint("ParcelCreator")
@Parcelize
data class MajorPlateRule(
    val composingType: Int, //排版类型 0一行一个 1一行两个 2一行三个 3一行四个
    val ctime: Long,
    val high: Int,
    val id: Int,
    val styleType: Int,//展示类型 0左右滑动 1向下扩展
    val type: Int,
    val utime: Long,
    val wide: Int
): BasicBean()